Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add config option to allow skipping questions on right of reply #215

Merged
merged 5 commits into from
Dec 19, 2024

Conversation

struan
Copy link
Member

@struan struan commented Dec 18, 2024

This is initially for WhoFundsThem so MPs only need to response to things where they have an entry in the register. If "right_of_reply_responses_to_ignore" is set as a session config then any response that matches the list, plus blank responses, will not be displayed on the right of reply question screen.

The config should be a JSON array with the text descriptions.

For multi option values it will skip only if all selected values are in the list.

Also updates the section page questions counts to reflect this

This is initially for WhoFundsThem so MPs only need to response to
things where they have an entry in the register. If
"right_of_reply_responses_to_ignore" is set as a session config then any
response that matches the list, plus blank responses, will not be
displayed on the right of reply question screen.

The config should be a JSON array with the text descriptions.

For multi option values it will skip only if all selected values are in
the list.

Also updates the section page questions counts to reflect this
@struan struan force-pushed the skip-ror-questions-based-on-response branch from 12d6788 to 699da05 Compare December 19, 2024 11:28
@struan struan merged commit 699da05 into main Dec 19, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant